// 定义深绿色主题样式
.el-popper.is-light {
    background-color: rgba(5, 45, 98, 1) !important;
    border: 1px solid rgba(21, 81, 159, 1) !important;
    border-radius: 0 !important;
}

.el-select-dropdown__item {
    color: white !important;
    background-color: transparent !important;
    
    &:hover {
        background-color: rgb(45, 120, 219) !important;
    }
    
    &.selected {
        background-color: rgb(45, 120, 219) !important;
        color: white !important;
    }
    
    &.is-selected {
        background-color: rgb(45, 120, 219) !important;
        color: white !important;
    }
}

// 确保选中项的背景色
.el-select-dropdown__item.selected,
.el-select-dropdown__item.is-selected {
    background-color: rgb(45, 120, 219) !important;
    color: white !important;
}

.el-tree {
    background-color: transparent !important;
    color: white !important;

    .el-tree-node__content:hover {
        background-color: rgb(45, 120, 219) !important;
        .el-tree-node__expand-icon {
            color: rgb(255, 255, 255) !important;
        }
    }

    .el-tree-node.is-current>.el-tree-node__content {
        background-color: rgb(45, 120, 219) !important;
        .el-tree-node__expand-icon {
            color: rgb(255, 255, 255) !important;
        }
    }
    .el-tree-node__expand-icon {
        color: rgb(40, 136, 238); // 深绿色
        &.expanded {
            color: rgb(40, 136, 238); // 深绿色
        }
        &:hover {
            color: rgb(255, 255, 255); // 更亮的绿色
        }
    }
}

.el-scrollbar__view {
    background-color: transparent !important;
}

.el-popper__arrow {
    display: none !important;
}

.el-select__caret {
    color: rgba(255, 255, 255, 1) !important;
}

.el-select__selected-item.el-select__placeholder {
    color: rgba(255, 255, 255, 1) !important;
}

.el-select-dropdown__empty, .el-select-dropdown__loading {
    color: rgb(40, 136, 238) !important;
}

// 额外确保下拉选项的选中状态
.el-select-dropdown {
    .el-select-dropdown__item {
        &.selected,
        &.is-selected {
            background-color: rgb(45, 120, 219) !important;
            color: white !important;
        }
    }
}
